package org.ch03.test07;

import java.util.Arrays;

/**
 * @author ZJL
 * @date 2025-03-27
 */
public class MainTest03 {
    public static void main(String[] args) {
        String[] arr = {"AA", "BB", "CC"};

        // 实现数组的拷贝
        String[] newArr = Arrays.copyOf(arr, 6);

        System.out.println(Arrays.toString(newArr));
    }
}
